/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sgsmcan.Dao;

import com.sgsmcan.Entidad.Usuario;
import java.util.List;
import org.hibernate.criterion.DetachedCriteria;

/**
 *
 * @author user
 */
public interface UsuarioDao<T> extends DaoGenerico<T>{
    
    public boolean validarNick(String nick);
    
    public boolean validarClave(String nick , String clave);
    
    public boolean existeNick(String nick);
    
    public Usuario getForID(String nick);
    
    public List<Usuario> getUsuarios(String id);
    
    public DetachedCriteria getUsers(String id);
    
}
